import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { EpgService } from './epg.service';
import { EpgController } from './epg.controller';
import { Epg, EpgSchema } from '../../schema/epg.schema';

@Module({
  imports: [MongooseModule.forFeature([{ name: Epg.name, schema: EpgSchema }])],
  controllers: [EpgController],
  providers: [EpgService],
  exports: [EpgService],
})
export class EpgModule {}
